# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-wavelan-plugin
pkgver=0.6.1
pkgrel=0
pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-lang"
makedepends="xfce4-panel-dev libxfce4ui-dev linux-headers"
source="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/${pkgver%.*}/xfce4-wavelan-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="530758dec07b404009117038fa6bcac5aaebf9db97710cdeafadece4eb5680318023404276fae8cf1ff38fb5e9eb807f77eea23a30740674a8659404eb17aeec  xfce4-wavelan-plugin-0.6.1.tar.bz2"
